package android.time;

import android.time.IUpdateTimeOrDateCallback;
/**
 * @hide
 */


interface IUpdateTimeAndDateService
{

    const String SERVICE_NAME = "updatetime_service";
    /**
     * the 12/24 hour options
     */
    boolean is24TimeFormat();

    /**
     * The current time zone of the system
     */
    int getTimeZone();

    /**
     * The current time of the system
     */
    long getSysTime();

    /**
    * The date format of the system
    */
    String getDateFormat();

    /**
    * The Date of the system
    */
    String getDate();

    /**
    * The Day time of the system
    */

    String getTime();

    /**
     * register callback
     */
    void registerUpdateTimeOrDateCallback(IUpdateTimeOrDateCallback callback);
}